{{ define "proclaim" }}
    <div title="公告" style="margin-top: 20px;">
        <template>
            <el-carousel :interval="5000" arrow="always" height="500px" >
                <el-carousel-item v-for="item in lists" :key="item.name">

                        <el-image :src="item.blog_cover_image" :fit="cover" style="width: 100%; padding-bottom: 100%;">

                        </el-image>
                    <div style="background-color: rgb(0 0 0 / 20%);position: absolute; bottom:0px;left:auto;width: 100%">
                        <div class="text" style="width: -moz-fit-content;text-align: center;">
                            <h1 style="color:white;font-size: xx-large"><a :href="item.blog_sub_url">${item.blog_title}</a></h1>
                            <p style="color:white;"><i class="el-icon-user-solid"></i>作者：${item.author_name} 日期：${item.create_time_str} 分类：${item.category_name} 标签：
                                <span v-for="tag of item.blog_tags">${tag}</span></p>
                        </div>
                    </div>

                </el-carousel-item>
            </el-carousel>
        </template>
    </div>
{{end}}